package com.yu.service;

import org.springframework.stereotype.Component;

/**
 * @author yutao
 * @date 2021/10/13 0:13
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService{

    @Override
    public String paymentInfo_OK(Integer id) {
        return "PaymentFallbackService fall paymentInfo_OK 失败";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "PaymentFallbackService fall paymentInfo_TimeOut 失败";
    }
}
